package com.education.service.statistics;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 统计分析微服务启动类
 * Created by Lance on 2020/07/12 16:55
 */
@EnableScheduling   // 启动定时任务
@EnableFeignClients
@EnableDiscoveryClient
@ComponentScan({"com.education"})
@SpringBootApplication
public class ServiceStatisticsApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceStatisticsApplication.class, args);
    }
}
